import { post } from "../../../utils/request";

const channelList = data => post("mgt/channelNo/list", data);

const modChannel = data => post("mgt/channelNo/mod", data);

const delChannel = data => post("mgt/channelNo/del", data);

const channelHidden = data => post("mgt/channelNo/hidden", data);

const update = data => post("mgt/channelNo/update", data);

const detailChannel = data => post("mgt/channelNo//detail", data);

const inExcel = data => post("mgt/channelNo//inExcel", data);

export default {
  channelHidden,
  update,
  modChannel,
  delChannel,
  channelList,
  detailChannel,
  inExcel
};
